package com.bjdd.jdy.ui.ready;

import com.bjdd.jdy.base.BaseModel;
import com.bjdd.jdy.base.BasePresenter;
import com.bjdd.jdy.base.BaseResult;
import com.bjdd.jdy.base.BaseView;
import com.bjdd.jdy.entity.User;

import rx.Observable;

/**
 * Created by Administrator on 2017/4/14.
 */

public interface ReadyContract {
    interface Model extends BaseModel{
        Observable<BaseResult<User>> getUserInfo(String token, String userId);
    }
    interface View extends BaseView{
        void setUser();
    }
    abstract class Presenter extends BasePresenter<ReadyContract.Model,ReadyContract.View>{
        public abstract void getUserInfo(String token,String userId);
    }
}
